Where a named point of the Background Actor's picture is in the room right now, down: see actor_pin_x.
Game Boy: not available
Game Boy Color: not available
Sega Genesis: not built yet
On other consoles this differs: see Side by side and How the consoles differ.
actor_pin_y(pin) -> real| Name | Type |
|---|---|
pin | string |
real
Where a named point of the Background Actor's picture is in the room right now, down. It is the other half of actor_pin_x, with the same rules: counted from the room's top-left corner like an object's y, within a pixel or two of the real point, and 0 for a name that is not one of the picture's pins.
// Step event of a bullet: it has hit her if it is within 8 pixels of her heart.
if (dist_to(x, y, actor_pin_x("heart"), actor_pin_y("heart")) < 8) {
instance_destroy(self);
}The heart is a point on the picture, so the hit area follows it wherever the picture goes.
A no-op in a room that has no zoomable background (set the room's Zoomable background to an actor picture). Counted from the room's top-left corner, as an object's y. The same rules as actor_pin_x.